package oopcom;

public class Menu {
    //属性

    public void shoeMenu(){
        //实例化---根据类模版创建对象的过程
        Person person = new Person();
        person.eat();

        String name = person.name;
        System.out.println(name);

    }

    public static void main(String[] args) {
        Menu menu = new Menu();
        menu.shoeMenu();
    }
}
